<?php
namespace app\http\controller\admin;

use kernel\library\Controller;
use kernel\library\Request;
use app\services\index\Init;
use app\services\index\Finder;

class Index extends Controller
{
    public function finder(Request $request){
        return Finder::getInstance()->restfull($request->method(), $request->all());
    }
    public function init(Request $request){
        return Init::getInstance()->restfull($request->method(), $request->all());
    }
}

